Optimal. Leaf size=311 \[ -\frac {\sqrt {1+\sqrt {2}} \text {ArcTan}\left (\frac {\sqrt {2 \left (1+\sqrt {2}\right )}-2 \sqrt {1+\tan (e+f x)}}{\sqrt {2 \left (-1+\sqrt {2}\right )}}\right )}{2 f}+\frac {\sqrt {1+\sqrt {2}} \text {ArcTan}\left (\frac {\sqrt {2 \left (1+\sqrt {2}\right )}+2 \sqrt {1+\tan (e+f x)}}{\sqrt {2 \left (-1+\sqrt {2}\right )}}\right )}{2 f}-\frac {\log \left (1+\sqrt {2}+\tan (e+f x)-\sqrt {2 \left (1+\sqrt {2}\right )} \sqrt {1+\tan (e+f x)}\right )}{4 \sqrt {1+\sqrt {2}} f}+\frac {\log \left (1+\sqrt {2}+\tan (e+f x)+\sqrt {2 \left (1+\sqrt {2}\right )} \sqrt {1+\tan (e+f x)}\right )}{4 \sqrt {1+\sqrt {2}} f}-\frac {14 \sqrt {1+\tan (e+f x)}}{15 f}-\frac {8 \tan (e+f x) \sqrt {1+\tan (e+f x)}}{15 f}+\frac {2 \tan ^2(e+f x) \sqrt {1+\tan (e+f x)}}{5 f} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.24, antiderivative size = 311, normalized size of antiderivative = 1.00, number of steps
used = 14, number of rules used = 10, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.476, Rules used = {3647, 3728,
3712, 3566, 722, 1108, 648, 632, 210, 642} \begin {gather*} -\frac {\sqrt {1+\sqrt {2}} \text {ArcTan}\left (\frac {\sqrt {2 \left (1+\sqrt {2}\right )}-2 \sqrt {\tan (e+f x)+1}}{\sqrt {2 \left (\sqrt {2}-1\right )}}\right )}{2 f}+\frac {\sqrt {1+\sqrt {2}} \text {ArcTan}\left (\frac {2 \sqrt {\tan (e+f x)+1}+\sqrt {2 \left (1+\sqrt {2}\right )}}{\sqrt {2 \left (\sqrt {2}-1\right )}}\right )}{2 f}+\frac {2 \sqrt {\tan (e+f x)+1} \tan ^2(e+f x)}{5 f}-\frac {8 \sqrt {\tan (e+f x)+1} \tan (e+f x)}{15 f}-\frac {14 \sqrt {\tan (e+f x)+1}}{15 f}-\frac {\log \left (\tan (e+f x)-\sqrt {2 \left (1+\sqrt {2}\right )} \sqrt {\tan (e+f x)+1}+\sqrt {2}+1\right )}{4 \sqrt {1+\sqrt {2}} f}+\frac {\log \left (\tan (e+f x)+\sqrt {2 \left (1+\sqrt {2}\right )} \sqrt {\tan (e+f x)+1}+\sqrt {2}+1\right )}{4 \sqrt {1+\sqrt {2}} f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 210
Rule 632
Rule 642
Rule 648
Rule 722
Rule 1108
Rule 3566
Rule 3647
Rule 3712
Rule 3728
Rubi steps
\begin {align*} \int \frac {\tan ^4(e+f x)}{\sqrt {1+\tan (e+f x)}} \, dx &=\frac {2 \tan ^2(e+f x) \sqrt {1+\tan (e+f x)}}{5 f}+\frac {2}{5} \int \frac {\tan (e+f x) \left (-2-\frac {5}{2} \tan (e+f x)-2 \tan ^2(e+f x)\right )}{\sqrt {1+\tan (e+f x)}} \, dx\\ &=-\frac {8 \tan (e+f x) \sqrt {1+\tan (e+f x)}}{15 f}+\frac {2 \tan ^2(e+f x) \sqrt {1+\tan (e+f x)}}{5 f}+\frac {4}{15} \int \frac {2-\frac {7}{4} \tan ^2(e+f x)}{\sqrt {1+\tan (e+f x)}} \, dx\\ &=-\frac {14 \sqrt {1+\tan (e+f x)}}{15 f}-\frac {8 \tan (e+f x) \sqrt {1+\tan (e+f x)}}{15 f}+\frac {2 \tan ^2(e+f x) \sqrt {1+\tan (e+f x)}}{5 f}+\int \frac {1}{\sqrt {1+\tan (e+f x)}} \, dx\\ &=-\frac {14 \sqrt {1+\tan (e+f x)}}{15 f}-\frac {8 \tan (e+f x) \sqrt {1+\tan (e+f x)}}{15 f}+\frac {2 \tan ^2(e+f x) \sqrt {1+\tan (e+f x)}}{5 f}+\frac {\text {Subst}\left (\int \frac {1}{\sqrt {1+x} \left (1+x^2\right )} \, dx,x,\tan (e+f x)\right )}{f}\\ &=-\frac {14 \sqrt {1+\tan (e+f x)}}{15 f}-\frac {8 \tan (e+f x) \sqrt {1+\tan (e+f x)}}{15 f}+\frac {2 \tan ^2(e+f x) \sqrt {1+\tan (e+f x)}}{5 f}+\frac {2 \text {Subst}\left (\int \frac {1}{2-2 x^2+x^4} \, dx,x,\sqrt {1+\tan (e+f x)}\right )}{f}\\ &=-\frac {14 \sqrt {1+\tan (e+f x)}}{15 f}-\frac {8 \tan (e+f x) \sqrt {1+\tan (e+f x)}}{15 f}+\frac {2 \tan ^2(e+f x) \sqrt {1+\tan (e+f x)}}{5 f}+\frac {\text {Subst}\left (\int \frac {\sqrt {2 \left (1+\sqrt {2}\right )}-x}{\sqrt {2}-\sqrt {2 \left (1+\sqrt {2}\right )} x+x^2} \, dx,x,\sqrt {1+\tan (e+f x)}\right )}{2 \sqrt {1+\sqrt {2}} f}+\frac {\text {Subst}\left (\int \frac {\sqrt {2 \left (1+\sqrt {2}\right )}+x}{\sqrt {2}+\sqrt {2 \left (1+\sqrt {2}\right )} x+x^2} \, dx,x,\sqrt {1+\tan (e+f x)}\right )}{2 \sqrt {1+\sqrt {2}} f}\\ &=-\frac {14 \sqrt {1+\tan (e+f x)}}{15 f}-\frac {8 \tan (e+f x) \sqrt {1+\tan (e+f x)}}{15 f}+\frac {2 \tan ^2(e+f x) \sqrt {1+\tan (e+f x)}}{5 f}+\frac {\text {Subst}\left (\int \frac {1}{\sqrt {2}-\sqrt {2 \left (1+\sqrt {2}\right )} x+x^2} \, dx,x,\sqrt {1+\tan (e+f x)}\right )}{2 \sqrt {2} f}+\frac {\text {Subst}\left (\int \frac {1}{\sqrt {2}+\sqrt {2 \left (1+\sqrt {2}\right )} x+x^2} \, dx,x,\sqrt {1+\tan (e+f x)}\right )}{2 \sqrt {2} f}-\frac {\text {Subst}\left (\int \frac {-\sqrt {2 \left (1+\sqrt {2}\right )}+2 x}{\sqrt {2}-\sqrt {2 \left (1+\sqrt {2}\right )} x+x^2} \, dx,x,\sqrt {1+\tan (e+f x)}\right )}{4 \sqrt {1+\sqrt {2}} f}+\frac {\text {Subst}\left (\int \frac {\sqrt {2 \left (1+\sqrt {2}\right )}+2 x}{\sqrt {2}+\sqrt {2 \left (1+\sqrt {2}\right )} x+x^2} \, dx,x,\sqrt {1+\tan (e+f x)}\right )}{4 \sqrt {1+\sqrt {2}} f}\\ &=-\frac {\log \left (1+\sqrt {2}+\tan (e+f x)-\sqrt {2 \left (1+\sqrt {2}\right )} \sqrt {1+\tan (e+f x)}\right )}{4 \sqrt {1+\sqrt {2}} f}+\frac {\log \left (1+\sqrt {2}+\tan (e+f x)+\sqrt {2 \left (1+\sqrt {2}\right )} \sqrt {1+\tan (e+f x)}\right )}{4 \sqrt {1+\sqrt {2}} f}-\frac {14 \sqrt {1+\tan (e+f x)}}{15 f}-\frac {8 \tan (e+f x) \sqrt {1+\tan (e+f x)}}{15 f}+\frac {2 \tan ^2(e+f x) \sqrt {1+\tan (e+f x)}}{5 f}-\frac {\text {Subst}\left (\int \frac {1}{2 \left (1-\sqrt {2}\right )-x^2} \, dx,x,-\sqrt {2 \left (1+\sqrt {2}\right )}+2 \sqrt {1+\tan (e+f x)}\right )}{\sqrt {2} f}-\frac {\text {Subst}\left (\int \frac {1}{2 \left (1-\sqrt {2}\right )-x^2} \, dx,x,\sqrt {2 \left (1+\sqrt {2}\right )}+2 \sqrt {1+\tan (e+f x)}\right )}{\sqrt {2} f}\\ &=-\frac {\tan ^{-1}\left (\frac {\sqrt {2 \left (1+\sqrt {2}\right )}-2 \sqrt {1+\tan (e+f x)}}{\sqrt {2 \left (-1+\sqrt {2}\right )}}\right )}{2 \sqrt {-1+\sqrt {2}} f}+\frac {\tan ^{-1}\left (\frac {\sqrt {2 \left (1+\sqrt {2}\right )}+2 \sqrt {1+\tan (e+f x)}}{\sqrt {2 \left (-1+\sqrt {2}\right )}}\right )}{2 \sqrt {-1+\sqrt {2}} f}-\frac {\log \left (1+\sqrt {2}+\tan (e+f x)-\sqrt {2 \left (1+\sqrt {2}\right )} \sqrt {1+\tan (e+f x)}\right )}{4 \sqrt {1+\sqrt {2}} f}+\frac {\log \left (1+\sqrt {2}+\tan (e+f x)+\sqrt {2 \left (1+\sqrt {2}\right )} \sqrt {1+\tan (e+f x)}\right )}{4 \sqrt {1+\sqrt {2}} f}-\frac {14 \sqrt {1+\tan (e+f x)}}{15 f}-\frac {8 \tan (e+f x) \sqrt {1+\tan (e+f x)}}{15 f}+\frac {2 \tan ^2(e+f x) \sqrt {1+\tan (e+f x)}}{5 f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 1.73, size = 100, normalized size = 0.32 \begin {gather*} \frac {(1-i)^{3/2} \tanh ^{-1}\left (\frac {\sqrt {1+\tan (e+f x)}}{\sqrt {1-i}}\right )}{2 f}+\frac {(1+i)^{3/2} \tanh ^{-1}\left (\frac {\sqrt {1+\tan (e+f x)}}{\sqrt {1+i}}\right )}{2 f}+\frac {2 (1+\tan (e+f x))^{3/2} (-7+3 \tan (e+f x))}{15 f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 327, normalized size = 1.05
method | result | size |
derivativedivides | \(\frac {\frac {2 \left (1+\tan \left (f x +e \right )\right )^{\frac {5}{2}}}{5}-\frac {4 \left (1+\tan \left (f x +e \right )\right )^{\frac {3}{2}}}{3}-\frac {\left (-\sqrt {2 \sqrt {2}+2}\, \sqrt {2}+2 \sqrt {2 \sqrt {2}+2}\right ) \ln \left (1+\sqrt {2}-\sqrt {2 \sqrt {2}+2}\, \sqrt {1+\tan \left (f x +e \right )}+\tan \left (f x +e \right )\right )}{8}-\frac {\left (-2 \sqrt {2}+\frac {\left (-\sqrt {2 \sqrt {2}+2}\, \sqrt {2}+2 \sqrt {2 \sqrt {2}+2}\right ) \sqrt {2 \sqrt {2}+2}}{2}\right ) \arctan \left (\frac {2 \sqrt {1+\tan \left (f x +e \right )}-\sqrt {2 \sqrt {2}+2}}{\sqrt {-2+2 \sqrt {2}}}\right )}{2 \sqrt {-2+2 \sqrt {2}}}+\frac {\left (-\sqrt {2 \sqrt {2}+2}\, \sqrt {2}+2 \sqrt {2 \sqrt {2}+2}\right ) \ln \left (1+\sqrt {2}+\sqrt {2 \sqrt {2}+2}\, \sqrt {1+\tan \left (f x +e \right )}+\tan \left (f x +e \right )\right )}{8}+\frac {\left (2 \sqrt {2}-\frac {\left (-\sqrt {2 \sqrt {2}+2}\, \sqrt {2}+2 \sqrt {2 \sqrt {2}+2}\right ) \sqrt {2 \sqrt {2}+2}}{2}\right ) \arctan \left (\frac {\sqrt {2 \sqrt {2}+2}+2 \sqrt {1+\tan \left (f x +e \right )}}{\sqrt {-2+2 \sqrt {2}}}\right )}{2 \sqrt {-2+2 \sqrt {2}}}}{f}\) | \(327\) |
default | \(\frac {\frac {2 \left (1+\tan \left (f x +e \right )\right )^{\frac {5}{2}}}{5}-\frac {4 \left (1+\tan \left (f x +e \right )\right )^{\frac {3}{2}}}{3}-\frac {\left (-\sqrt {2 \sqrt {2}+2}\, \sqrt {2}+2 \sqrt {2 \sqrt {2}+2}\right ) \ln \left (1+\sqrt {2}-\sqrt {2 \sqrt {2}+2}\, \sqrt {1+\tan \left (f x +e \right )}+\tan \left (f x +e \right )\right )}{8}-\frac {\left (-2 \sqrt {2}+\frac {\left (-\sqrt {2 \sqrt {2}+2}\, \sqrt {2}+2 \sqrt {2 \sqrt {2}+2}\right ) \sqrt {2 \sqrt {2}+2}}{2}\right ) \arctan \left (\frac {2 \sqrt {1+\tan \left (f x +e \right )}-\sqrt {2 \sqrt {2}+2}}{\sqrt {-2+2 \sqrt {2}}}\right )}{2 \sqrt {-2+2 \sqrt {2}}}+\frac {\left (-\sqrt {2 \sqrt {2}+2}\, \sqrt {2}+2 \sqrt {2 \sqrt {2}+2}\right ) \ln \left (1+\sqrt {2}+\sqrt {2 \sqrt {2}+2}\, \sqrt {1+\tan \left (f x +e \right )}+\tan \left (f x +e \right )\right )}{8}+\frac {\left (2 \sqrt {2}-\frac {\left (-\sqrt {2 \sqrt {2}+2}\, \sqrt {2}+2 \sqrt {2 \sqrt {2}+2}\right ) \sqrt {2 \sqrt {2}+2}}{2}\right ) \arctan \left (\frac {\sqrt {2 \sqrt {2}+2}+2 \sqrt {1+\tan \left (f x +e \right )}}{\sqrt {-2+2 \sqrt {2}}}\right )}{2 \sqrt {-2+2 \sqrt {2}}}}{f}\) | \(327\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 898 vs.
\(2 (250) = 500\).
time = 1.26, size = 898, normalized size = 2.89 \begin {gather*} -\frac {60 \, \left (\frac {1}{2}\right )^{\frac {3}{4}} \sqrt {\sqrt {\frac {1}{2}} f^{2} \sqrt {\frac {1}{f^{4}}} + 1} f \frac {1}{f^{4}}^{\frac {1}{4}} \arctan \left (2 \, \left (\frac {1}{2}\right )^{\frac {1}{4}} \sqrt {\sqrt {\frac {1}{2}} f^{2} \sqrt {\frac {1}{f^{4}}} + 1} f^{3} \sqrt {\frac {2 \, \sqrt {\frac {1}{2}} f^{2} \sqrt {\frac {1}{f^{4}}} \cos \left (f x + e\right ) + 2 \, \left (\frac {1}{2}\right )^{\frac {1}{4}} \sqrt {\sqrt {\frac {1}{2}} f^{2} \sqrt {\frac {1}{f^{4}}} + 1} f \sqrt {\frac {\cos \left (f x + e\right ) + \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \frac {1}{f^{4}}^{\frac {1}{4}} \cos \left (f x + e\right ) + \cos \left (f x + e\right ) + \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \frac {1}{f^{4}}^{\frac {3}{4}} - 2 \, \left (\frac {1}{2}\right )^{\frac {1}{4}} \sqrt {\sqrt {\frac {1}{2}} f^{2} \sqrt {\frac {1}{f^{4}}} + 1} f^{3} \sqrt {\frac {\cos \left (f x + e\right ) + \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \frac {1}{f^{4}}^{\frac {3}{4}} - f^{2} \sqrt {\frac {1}{f^{4}}} - 2 \, \sqrt {\frac {1}{2}}\right ) \cos \left (f x + e\right )^{2} + 60 \, \left (\frac {1}{2}\right )^{\frac {3}{4}} \sqrt {\sqrt {\frac {1}{2}} f^{2} \sqrt {\frac {1}{f^{4}}} + 1} f \frac {1}{f^{4}}^{\frac {1}{4}} \arctan \left (2 \, \left (\frac {1}{2}\right )^{\frac {1}{4}} \sqrt {\sqrt {\frac {1}{2}} f^{2} \sqrt {\frac {1}{f^{4}}} + 1} f^{3} \sqrt {\frac {2 \, \sqrt {\frac {1}{2}} f^{2} \sqrt {\frac {1}{f^{4}}} \cos \left (f x + e\right ) - 2 \, \left (\frac {1}{2}\right )^{\frac {1}{4}} \sqrt {\sqrt {\frac {1}{2}} f^{2} \sqrt {\frac {1}{f^{4}}} + 1} f \sqrt {\frac {\cos \left (f x + e\right ) + \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \frac {1}{f^{4}}^{\frac {1}{4}} \cos \left (f x + e\right ) + \cos \left (f x + e\right ) + \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \frac {1}{f^{4}}^{\frac {3}{4}} - 2 \, \left (\frac {1}{2}\right )^{\frac {1}{4}} \sqrt {\sqrt {\frac {1}{2}} f^{2} \sqrt {\frac {1}{f^{4}}} + 1} f^{3} \sqrt {\frac {\cos \left (f x + e\right ) + \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \frac {1}{f^{4}}^{\frac {3}{4}} + f^{2} \sqrt {\frac {1}{f^{4}}} + 2 \, \sqrt {\frac {1}{2}}\right ) \cos \left (f x + e\right )^{2} + 15 \, \left (\frac {1}{2}\right )^{\frac {1}{4}} {\left (\sqrt {\frac {1}{2}} f^{3} \sqrt {\frac {1}{f^{4}}} \cos \left (f x + e\right )^{2} - f \cos \left (f x + e\right )^{2}\right )} \sqrt {\sqrt {\frac {1}{2}} f^{2} \sqrt {\frac {1}{f^{4}}} + 1} \frac {1}{f^{4}}^{\frac {1}{4}} \log \left (\frac {2 \, \sqrt {\frac {1}{2}} f^{2} \sqrt {\frac {1}{f^{4}}} \cos \left (f x + e\right ) + 2 \, \left (\frac {1}{2}\right )^{\frac {1}{4}} \sqrt {\sqrt {\frac {1}{2}} f^{2} \sqrt {\frac {1}{f^{4}}} + 1} f \sqrt {\frac {\cos \left (f x + e\right ) + \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \frac {1}{f^{4}}^{\frac {1}{4}} \cos \left (f x + e\right ) + \cos \left (f x + e\right ) + \sin \left (f x + e\right )}{\cos \left (f x + e\right )}\right ) - 15 \, \left (\frac {1}{2}\right )^{\frac {1}{4}} {\left (\sqrt {\frac {1}{2}} f^{3} \sqrt {\frac {1}{f^{4}}} \cos \left (f x + e\right )^{2} - f \cos \left (f x + e\right )^{2}\right )} \sqrt {\sqrt {\frac {1}{2}} f^{2} \sqrt {\frac {1}{f^{4}}} + 1} \frac {1}{f^{4}}^{\frac {1}{4}} \log \left (\frac {2 \, \sqrt {\frac {1}{2}} f^{2} \sqrt {\frac {1}{f^{4}}} \cos \left (f x + e\right ) - 2 \, \left (\frac {1}{2}\right )^{\frac {1}{4}} \sqrt {\sqrt {\frac {1}{2}} f^{2} \sqrt {\frac {1}{f^{4}}} + 1} f \sqrt {\frac {\cos \left (f x + e\right ) + \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \frac {1}{f^{4}}^{\frac {1}{4}} \cos \left (f x + e\right ) + \cos \left (f x + e\right ) + \sin \left (f x + e\right )}{\cos \left (f x + e\right )}\right ) + 4 \, {\left (10 \, \cos \left (f x + e\right )^{2} + 4 \, \cos \left (f x + e\right ) \sin \left (f x + e\right ) - 3\right )} \sqrt {\frac {\cos \left (f x + e\right ) + \sin \left (f x + e\right )}{\cos \left (f x + e\right )}}}{30 \, f \cos \left (f x + e\right )^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\tan ^{4}{\left (e + f x \right )}}{\sqrt {\tan {\left (e + f x \right )} + 1}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.72, size = 238, normalized size = 0.77 \begin {gather*} \frac {\sqrt {\sqrt {2} + 1} \arctan \left (\frac {2^{\frac {3}{4}} {\left (2^{\frac {1}{4}} \sqrt {\sqrt {2} + 2} + 2 \, \sqrt {\tan \left (f x + e\right ) + 1}\right )}}{2 \, \sqrt {-\sqrt {2} + 2}}\right )}{2 \, f} + \frac {\sqrt {\sqrt {2} + 1} \arctan \left (-\frac {2^{\frac {3}{4}} {\left (2^{\frac {1}{4}} \sqrt {\sqrt {2} + 2} - 2 \, \sqrt {\tan \left (f x + e\right ) + 1}\right )}}{2 \, \sqrt {-\sqrt {2} + 2}}\right )}{2 \, f} + \frac {\sqrt {\sqrt {2} - 1} \log \left (2^{\frac {1}{4}} \sqrt {\sqrt {2} + 2} \sqrt {\tan \left (f x + e\right ) + 1} + \sqrt {2} + \tan \left (f x + e\right ) + 1\right )}{4 \, f} - \frac {\sqrt {\sqrt {2} - 1} \log \left (-2^{\frac {1}{4}} \sqrt {\sqrt {2} + 2} \sqrt {\tan \left (f x + e\right ) + 1} + \sqrt {2} + \tan \left (f x + e\right ) + 1\right )}{4 \, f} + \frac {2 \, {\left (3 \, f^{4} {\left (\tan \left (f x + e\right ) + 1\right )}^{\frac {5}{2}} - 10 \, f^{4} {\left (\tan \left (f x + e\right ) + 1\right )}^{\frac {3}{2}}\right )}}{15 \, f^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.55, size = 101, normalized size = 0.32 \begin {gather*} \frac {2\,{\left (\mathrm {tan}\left (e+f\,x\right )+1\right )}^{5/2}}{5\,f}-\frac {4\,{\left (\mathrm {tan}\left (e+f\,x\right )+1\right )}^{3/2}}{3\,f}+\mathrm {atan}\left (2\,f\,\sqrt {\frac {-\frac {1}{8}-\frac {1}{8}{}\mathrm {i}}{f^2}}\,\sqrt {\mathrm {tan}\left (e+f\,x\right )+1}\right )\,\sqrt {\frac {-\frac {1}{8}-\frac {1}{8}{}\mathrm {i}}{f^2}}\,2{}\mathrm {i}-\mathrm {atan}\left (2\,f\,\sqrt {\frac {-\frac {1}{8}+\frac {1}{8}{}\mathrm {i}}{f^2}}\,\sqrt {\mathrm {tan}\left (e+f\,x\right )+1}\right )\,\sqrt {\frac {-\frac {1}{8}+\frac {1}{8}{}\mathrm {i}}{f^2}}\,2{}\mathrm {i} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________